<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a href="https://qr.alipay.com/bax03859hhlsfavihpgv80cc">点击付款</a>
</body>
<script src="stomp.min.js"></script>
<script src="https://cdn.wul.ai/IMLib-3.30.0.min.js"></script>
<script> var client = Stomp.client('wss://test.xiaoyang666.top/ws'); var on_connect = function(x) { id = client.subscribe("/exchange/sendMessage", function(d) { alert(d.body); }); }; var on_error = function() { console.log('error'); }; client.connect('guest', 'guest', on_connect, on_error, '/'); </script>
</html>